\hypertarget{vetor_8hpp_source}{\section{vetor.\-hpp}
}

\begin{DoxyCode}
00001 
00009 \textcolor{preprocessor}{#ifndef \_VETOR\_HPP // Diretrizes de pré-processamento para compilação
       condicional. Se vetor.hpp não foi definido, defina vetor.hpp. Isso evita a inserção
       duplicada de uma biblioteca num mesmo código-fonte.}
00010 \textcolor{preprocessor}{}\textcolor{preprocessor}{#define \_VETOR\_HPP}
00011 \textcolor{preprocessor}{}
00012 \textcolor{preprocessor}{#include <valarray>}
00013 
00014 \textcolor{preprocessor}{#include "\hyperlink{matriz_8hpp}{matriz.hpp}"}
00015 
\hypertarget{vetor_8hpp_source_l00016}{}\hyperlink{vetor_8hpp_ad8038912ca53f3415505004c16fa4a6d}{00016} \textcolor{preprocessor}{# define scout cout << scientific ///< Facilita a impressão de dados no formato
       científico}
00017 \textcolor{preprocessor}{}
00018 \textcolor{keyword}{using namespace }std;
00019 
00020 \textcolor{keyword}{class }\hyperlink{classmatriz}{matriz};
00021 
\hypertarget{vetor_8hpp_source_l00024}{}\hyperlink{classvetor}{00024} \textcolor{keyword}{class }\hyperlink{classvetor}{vetor}
00025 \{
00026     \textcolor{keyword}{private}:
\hypertarget{vetor_8hpp_source_l00027}{}\hyperlink{classvetor_a8363ac8288f5c414e85dee6a5806c639}{00027}         \textcolor{keywordtype}{int} \hyperlink{classvetor_a8363ac8288f5c414e85dee6a5806c639}{dim}; 
\hypertarget{vetor_8hpp_source_l00028}{}\hyperlink{classvetor_abaeb7b1ae52ac295a6aeefcdb0110685}{00028}         \textcolor{keywordtype}{char} \hyperlink{classvetor_abaeb7b1ae52ac295a6aeefcdb0110685}{f}; 
\hypertarget{vetor_8hpp_source_l00029}{}\hyperlink{classvetor_a2bdb0bdaffb69a3a36b19aa78971ee5d}{00029}         valarray <double> \hyperlink{classvetor_a2bdb0bdaffb69a3a36b19aa78971ee5d}{v}; 
00030 \textcolor{comment}{//        valarray <complex <double> > vc; ///< Estrutura de dados que irá
       armazenar os elementos de um vetor complexo}
00031 
00032     \textcolor{keyword}{public}:
00033         \hyperlink{classvetor}{vetor}(); 
00034         ~\hyperlink{classvetor}{vetor}(); 
00035         \hyperlink{classvetor}{vetor}(\textcolor{keywordtype}{int}); 
00036         \hyperlink{classvetor}{vetor}(\textcolor{keywordtype}{int}, \textcolor{keywordtype}{char}); 
00037         \hyperlink{classvetor}{vetor}(\textcolor{keywordtype}{double}*, \textcolor{keywordtype}{int}, \textcolor{keywordtype}{char}); 
00038         \hyperlink{classvetor}{vetor}(valarray <double>, \textcolor{keywordtype}{char}); 
00039         \hyperlink{classvetor}{vetor}(\textcolor{keyword}{const} \hyperlink{classvetor}{vetor} &); 
00040         \textcolor{keywordtype}{void} show(); 
00041         \textcolor{keywordtype}{void} \textcolor{keyword}{set}(int, char); 
00042         \textcolor{keywordtype}{double} norma(\textcolor{keywordtype}{int}); 
00043         \textcolor{keywordtype}{double} normaInf(); 
00044         \textcolor{keywordtype}{int} retDim(); 
00045         \textcolor{keywordtype}{char} retF(); 
00046         \hyperlink{classvetor}{vetor} minivec(\textcolor{keywordtype}{int}, \textcolor{keywordtype}{int}); 
00047         \hyperlink{classvetor}{vetor}& operator+=(\textcolor{keyword}{const} \hyperlink{classvetor}{vetor} &); 
00048         \hyperlink{classvetor}{vetor}& operator=(\textcolor{keyword}{const} \hyperlink{classvetor}{vetor} &);  
00049         \hyperlink{classvetor}{vetor} \hyperlink{matriz_8cpp_ab2076375dc2569575f42deefca914361}{operator-}(); 
00050         \textcolor{keywordtype}{double}& operator()(\textcolor{keywordtype}{int}); 
00051 \};
00052 
00053 
00054 \hyperlink{classvetor}{vetor} \hyperlink{matriz_8cpp_a3544289b62615aa0f3e86edfe7f9d376}{operator*}(\textcolor{keywordtype}{double}, \hyperlink{classvetor}{vetor}); 
00055 \hyperlink{classvetor}{vetor} \hyperlink{matriz_8cpp_a3544289b62615aa0f3e86edfe7f9d376}{operator*}(\hyperlink{classvetor}{vetor}, \textcolor{keywordtype}{double}); 
00056 \textcolor{keywordtype}{double} \hyperlink{matriz_8hpp_a505bcdc9cebecba7a2796d5768e0e77c}{operator^}(\hyperlink{classvetor}{vetor}, \hyperlink{classvetor}{vetor}); 
00057 \hyperlink{classvetor}{vetor} \hyperlink{matriz_8cpp_a3544289b62615aa0f3e86edfe7f9d376}{operator*}(\hyperlink{classvetor}{vetor}, \hyperlink{classvetor}{vetor}); 
00058 \hyperlink{classvetor}{vetor} \hyperlink{matriz_8cpp_aa97cca9aeb4363cc45c3c086d9f326da}{operator+}(\hyperlink{classvetor}{vetor}, \hyperlink{classvetor}{vetor}); 
00059 \hyperlink{classvetor}{vetor} \hyperlink{matriz_8cpp_ab2076375dc2569575f42deefca914361}{operator-}(\hyperlink{classvetor}{vetor}, \hyperlink{classvetor}{vetor}); 
00060 \hyperlink{classvetor}{vetor} \hyperlink{matriz_8cpp_a3544289b62615aa0f3e86edfe7f9d376}{operator*}(\hyperlink{classvetor}{vetor}, \hyperlink{classmatriz}{matriz}); 
00061 \hyperlink{classvetor}{vetor} \hyperlink{matriz_8cpp_a3544289b62615aa0f3e86edfe7f9d376}{operator*}(\hyperlink{classmatriz}{matriz}, \hyperlink{classvetor}{vetor}); 
00062 ostream& \hyperlink{matriz_8hpp_a1a5f1b0f85f140ee7aaaafdbe0324c27}{operator<<}(ostream&, \hyperlink{classvetor}{vetor}); 
00063 
00064 \textcolor{preprocessor}{#endif // \_VETOR\_HPP}
\end{DoxyCode}
